<template>
  <div>
    <div class="weixin-tip">
      <p>
        <img src="https://qn.yzlh.icu/guidance.png" alt="微信打开" />
      </p>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      receiveData: [],
      receiveSrc: "",
    };
  },
  created() {
    this.receiveData = this.$route.query;
    var ua = navigator.userAgent.toLowerCase();
    if (ua.match(/MicroMessenger/i) != "micromessenger") {
      this.$router.push({
        path: "/wechat/nucleic-acid-report-query/image-list",
        query: this.receiveData,
      });
    }
  },
};
</script>

<style type="text/css">
img {
  max-width: 100%;
  height: auto;
}

.weixin-tip {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  filter: alpha(opacity=80);
  height: 100%;
  width: 100%;
  z-index: 100;
}

.weixin-tip p {
  text-align: center;
  margin-top: 10%;
  padding: 0 5%;
}
</style>


